Metrology method and system

ABSTRACT

A metrology method for use in determining one or more parameters of a patterned structure, the method including providing raw measured TEM image data, TEM meas , data indicative of a TEM measurement mode, and predetermined simulated TEM image data including data indicative of one or more simulated TEM images of a structure similar to the patterned structure under measurements and a simulated weight map including weights assigned to different regions in the simulated TEM image corresponding to different features of the patterned structure, performing a fitting procedure between the raw measured TEM image data and the predetermined simulated TEM image data and determining one or more parameters of the structure from the simulated TEM image data corresponding to a best fit condition.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a U.S. National Phase Application under 35 U.S.C. 371 of International Application No. PCT/IL2018/050958, which has an international filing date of Aug. 29, 2018, and which claims the benefit of priority from U.S. Provisional Patent Application No. 62/563,113, filed Sep. 26, 2017, the disclosure of which is incorporated herein by reference in its entirety.

TECHNOLOGICAL FIELD AND BACKGROUND

The present invention is generally in the field of metrology techniques for measuring various parameters of patterned structures, such as semiconductor wafers, and can be used for example for controlling one or more processes in the manufacture of such structures.

Semiconductor structures, such as integrated circuits, become more complicated in the dimensions and shapes of pattern features, as well as integrate thinner and multi-stack films of novel material compositions (e.g. SiGe, HKMG, 3D FinFet, etc.). Accordingly, there exists an increasing need in providing accurate measurements of full 3-dimensional structures, and in enabling these measurements to be applied to structures progressing on a production line, i.e. automatic inspection (metrology, defect detection, process control, etc.) of patterned structures.

Various metrology/inspection techniques have been developed. Some of them utilize model-based interpretation of measured data to extract parameters of the structure being measured. The increasing complexity in patterns and material compositions of patterned structures require more complex models for interpretation of measured data. To this end, model optimization techniques have been developed utilizing, for example, a hybrid approach and/or measured data from reference system(s).

Hybrid Metrology is the practice of combining two or more metrology tools that measure the same or similar structures. Data is shared between toolsets in complementary way to enhance metrology performance, and enables measurement of complex structures that cannot be measured with enough performance by any of the individual toolset. Various examples of a hybrid approach are described in WO 11/158239, WO 14/102792 WO 15/125127, WO 17/021968, all assigned to the assignee of the present application.

As indicated above, interpretation of measured data may be assisted by comparison—or model optimization by structure parameter(s) measured by a reference system. One of the commonly used, high-accuracy, reference measurement system is based on Transmission Electron Microscopy (TEM). TEM is known to allow imaging of extremely small features, on the order of nanometers. With the decrease of pattern features in semiconductor devices, TEM is widely used for monitoring the manufacturing process. In contrast to SEM, which only images the surface of a material, TEM allows also to analyze the internal structure of a sample. In a TEM, a broad beam impacts the sample and electrons that are transmitted through the sample are focused to form an image of the sample. In a scanning transmission electron microscope (STEM), a primary electron beam is focused to a fine spot, and the spot is scanned across the sample surface. Electrons that are transmitted through the substrate are collected by an electron detector on the far side of the sample, and the intensity of each point on the image corresponds to the number of electrons collected as the primary beam impacts a corresponding point on the surface.

GENERAL DESCRIPTION

There is a need in the art for a novel metrology technique for measuring in patterned structures (e.g. a periodical semiconductor device array, e.g. logic, memory) utilizing image data obtained by a Transmission Electron Microscopy (TEM) or Scanning Transmission Electron Microscopy (STEM). The measurement results may be used for automatic process control (APC), e.g. during semiconductor manufacturing.

TEM/STEM is a microscopy technique in which a beam of electrons is transmitted through a very thin section or slice (also termed “Lamellae”) of a structure, and interaction of the electrons with features of the structure within the Lamellae, forms an image of said Lamellae. TEM is known to provide high-accuracy measurements which are required for measuring in complex patterned structures (complex patterns and material compositions).

TEM-based measurements are relatively slow (as compared to optical ones), and are typically performed at a stand-alone station, which may be part of a FAB production line. According to the conventional approach, TEM images are 2D images, which are processed to find distances and angles between edges in TEM images, utilizing image processing algorithms based on pattern recognition and pre-defined recipes. Thus, the known methods of data analysis of TEM images provide some mixed information about the Patterned Structure features within Lamellae being imaged, and practically cannot provide full geometrical (dimensional) and/or material information about a structure within the Lamellae image. These methods are neither robust nor accurate in the case of a structure (e.g. transistor device).

The present invention, according to one of its aspects, provides a novel system and method for automatic robust and accurate retrieval of geometric and/or material-related parameters of structures from one or several TEM images. In this connection, it should be noted that the principles of the invention can be applied to TEM data obtained with or without scan-mode measurements. Therefore the term “TEM” used herein below should be interpreted broadly covering also STEM tool/measurements.

The technique of the invention provides novel model-based interpretation of image data obtained by TEM, to provide full geometrical (and possible also material) interpretation of the TEM data. It should be understood that TEM image data is not a “real image” or “picture”, but pixel map data, which is an intensity map based on detected transmission of electrons through the structure, defined by the physics of TEM imaging, namely such parameters as electron beam energy, type and configuration of the detector, and geometry and material composition of the structure.

The invention utilizes position data of a measurement slice (Lamellae sample) with respect to a structure under measurements, considering a parametrized 3D model of features (e.g. dimensional parameters) of the structure, and possibly also material compositions' properties of the structure. Also, the invention utilizes weighting approach based on assignment of weights (weighting factors) to different regions in a simulated TEM image connected to (corresponding to) predefined different features/parts of the patterned structure being measured.

As described above, according to the conventional approach, 2D TEM images are processed to find distances and angles between edges in the TEM images, utilizing image processing algorithms based on pattern recognition and pre-defined recipes. The present invention is based on the inventor's understanding that appearance of the edges-related and other features in a TEM image is strongly connected to the exact Lamellae position and thickness relative to the structure. This, as well as other factors, such as low contrast appearance of some features in a TEM image, prevents the conventional approach from being sufficiently robust.

More specifically, as will be described further below, the invention utilizes an accurate 3D model-based matching (fitting) procedure which takes into account position uncertainty and has superior robustness if some of the features have low contrast. Taking into account physical constraints (from knowledge of semiconductor manufacturing process and trends), the physical stability of obtained results is assured and robustness of the analysis is improved.

Based on the 3D model of a structure (e.g. 3D geometry and material properties) and the physics of the specific TEM (or STEM) measurement mode, and possibly also a detection scheme, a simulated (expected/modeled) TEM image data is determined/calculated. The detection scheme, for example, may be Bright Field (BF), Dark Field (DF), Annular Dark Field (ADF), High Angle Annular Dark Field (HAADF), Energy Loss (EL), and others. The simulated TEM image data includes one or more simulated TEM images and a simulated weight map (image of weights).

It should be understood that some parameters of the structure have stronger effect on a TEM image (both measured and simulated/modeled image), while other parameters have weaker influence on TEM image. The “relatively strong” parameters can be extracted from the TEM image with better accuracy and robustness (e.g. using regression). The robust measurement of “relatively weak” parameters is a more challenging task because they may be significantly affected both by noise at the TEM image (random noise, discoloration of different parts, defects, non-periodicity of measured device) and by inaccuracies in model or measurements of relatively strong parameters.

Such relatively strong and weak parameters will be referred to hereinbelow as, respectively, strong and weak parameters, meaning that values of such parameters or change in values of such parameters have relatively strong and weak effects, respectively on the TEM image. The parameters of interest (POIs) or target parameters (TPs) can include both strong and weak parameters. Sometimes the most important parameter is a weak parameter, which is challenging to measure.

It should be noted that, for the purposes of the present disclosure, data indicative of the TEM transmission mode includes Lamellae position data with respect to the structure. The theoretical TEM image data is indicative of a 2D array of intensities, where different positions in the array correspond to different positions within the Lamellae projection.

The 3D model (geometry and material properties) of the structure (for example, transistors) may be provided using any known suitable technique, for example obtained by OCD measurements and created based on experience and knowledge of semiconductor manufacturing, e.g. NoVaMARS® software (application development platform) commercially available from Nova Measuring Instruments. Israel. Such 3D model of a structure includes parametrization, which allows to describe process variation in the manufacturing process. It should be understood that selected 3D model is to be sufficient to describe the normal and common abnormal process variations, and, on the other side, a number of adjustable (floating) parameters in the model is to be as small as possible.

Thus, according to one broad aspect of the invention, there is provided a control system for use in measuring one or more parameters of a patterned structure. The control system is configured as a computer system comprising: an input utility configured to receive input data comprising raw measured TEM image data, TEM_(meas), and data indicative of a TEM measurement mode; and a data processor configured to process the raw measured TEM image data, TEM_(meas), and generate output data indicative of one or more parameters of a patterned structure. The data processor comprises an optimization module configured and operable to utilize said data indicative of the TEM measurement mode and perform a fitting procedure between the raw measured TEM image data, TEM_(meas), and predetermined simulated TEM image data, TEM_(simul), and determining one or more parameters of the structure from the simulated image data corresponding to a best fit condition. The predetermined simulated TEM image data, TEM_(simul) is based on a parametrized three-dimensional model of features of the patterned structure, and comprises one or more simulated TEM images and simulated weight map comprising weights assigned to different regions in the simulated TEM image corresponding to different features of the patterned structure. according to a predefined structure's map data.

The parameter(s) of the structure to be determined may include dimensional parameters, such as for example one or more of the following: Critical Dimensions (CD) of the pattern features, layer(s)' thickness(es), Side Wall Angle (SWA), Pitch Walking, etc.; as well as materials related parameters/properties and variation of these parameters (e.g. within Lamellae).

The parametrized 3D model of the structure's features includes geometrical features (dimensions of the features) of the structure, and in some embodiments, may also include material-related data (material properties).

The optimization module may be configured and operable to perform the fitting procedure while varying one or more of the following: one or more of the three-dimensional model (e.g. 3D model) parameters; one or more of material properties; and Lamellae position with respect to the three-dimensional model of the structure; and while dynamically re-calculating the weight map by varying/re-assigning the weights to the different regions of the simulated TEM image, depending on the Lamellae geometry and position relative to the predetermined different features/parts of the patterned structure.

In some embodiments, the control system may be configured to access a storage device and receive therefrom the predetermined simulated TEM image data, TEM_(simul). Alternatively or additionally, the data processor further comprises a data simulator module, which is configured and operable to analyze data indicative of the parametrized three-dimensional model of geometrical features of the patterned structure, and create the predetermined simulated TEM image data, TEM_(simul). The simulated TEM image data may include a plurality of simulated TEM images for multiple different Lamellae positions and geometries with respect to the three-dimensional model of the patterned structure.

The control system may be configured for data communication with one or more measured data providers to receive therefrom the raw measured TEM image data, TEM_(meas), comprising data indicative of at least one TEM image.

The data indicative of the three-dimensional model of the patterned structure may further comprises material related data of the structure.

The data indicative of the one or more parameters of the TEM measurement mode comprises Lamellae geometry data. The latter may include one or more of the following: Lamellae thickness, Lamellae orientation, Lamellae position with respect to the structure.

The data indicative of the one or more parameters of the TEM measurement mode may further comprise data about a detection scheme corresponding to the measured TEM image data.

The control system further comprises a parameter calculator module configured and operable to provide, from the simulated TEM image data corresponding to the best fit condition, the one or more parameters of the patterned structure being measured. The parameter calculator module may be configured and operable to provide, from the simulated TEM image data corresponding to the best fit condition, the full geometrical interpretation of the TEM image data.

The control system may further comprise an analyzer configured to use the one or more parameters of the patterned structure determined from the TEM image data to optimize measured data corresponding to measurements of a type different from TEM, obtained on the patterned structure. The analyzer may comprise a modelling utility configured and operable to use the one or more parameters of the patterned structure determined from the TEM image data and optimize measured data interpretation model for said measurements of the type different from TEM. Such different type measured data may include OCD measured data and/or XRS data and/or XRF data.

The invention according to its another broad aspect provides a metrology method for use in determining one or more parameters of a patterned structure, the method comprising: providing raw measured TEM image data, TEM_(meas), and data indicative of a TEM measurement mode, and predetermined simulated TEM image data comprising data indicative of one or more simulated TEM images of a structure similar to the patterned structure under measurements and a simulated weight map comprising weights assigned to different regions in the simulated TEM image corresponding to different features of the patterned structure according to a predefined structure's map; performing a fitting procedure between the raw measured TEM image data and said predetermined simulated TEM image data, and determining one or more parameters of the structure from the simulated TEM image data corresponding to a best fit condition.

As described above, the parameters of interest (target parameters) of the structure to be determined can include both strong and weak parameters, and, moreover, sometimes the most important parameter is a weak parameter, which is challenging to measure. The present invention provides for improving the ability of measurement of weak parameters by creating trade-off between the accuracies of measurements of strong and weak parameters. Typically, the accuracy of measurement of strong parameters is very good, and may even be much better than required by specification. On the other hand, the accuracy of measurement of weak parameters might be not sufficient.

The technique of the invention performs leverage of the accuracies of measurements of strong and weak parameters by applying weights (weighting factors/coefficients) on different areas/regions of the simulated TEM image. Such a weighted area/region in the simulated TEM image is connected to/associated with a predetermined/selected (previously defined) feature(s)/part(s) of the patterned structure being measured. These parts/features of the patterned structure may for example be some specific elements/part(s) of a semiconductor device defined by the patterned structure (integrated structure), such as Gate at FinFET transistor, or SiGe L1 at FinFET transistor.

In other words, according to the invention, the importance of different areas/regions in the TEM image can be adjusted (by weight assigned thereto) in order to get a desired leverage between accuracies of measurement of weak and strong parameters of interest. Thus, different weights are dynamically assigned to specific areas/regions of the simulated TEM image which are connected to specific features/parts of the measured structure. These areas/parts are predefined (during recipe creation) based on the behavior of a measured structure, and not “fixed” on the TEM image. Depending on how Lamellae is cut and positioned relative to the regions of interest in the patterned structure, the analyzer (algorithm) automatically assigns different weights to different regions of the TEM image.

According to another aspect of the invention, it provides a novel hybrid approach, according to which TEM data is used for optimizing modeling of or measurements by a type different from TEM (e.g. OCD), or vice versa, resulting in enhanced performance of either one or both of the TEM and different type metrology measurements that cannot be obtained separately.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to better understand the subject matter that is disclosed herein and to exemplify how it may be carried out in practice, embodiments will now be described, by way of non-limiting example only, with reference to the accompanying drawings, in which:

FIG. 1A is a block diagram of a control system of the invention for use in determining various structure parameters from TEM image data;

FIG. 1B is a block diagram more specifically illustrating the components of the exemplary embodiment of the system of FIG. 1A;

FIGS. 2A to 2D schematically illustrate the principles of the invention for generating simulated TEM image data, wherein FIG. 2A shows a “TEM stack” as a multi-parameter function of structure geometry and material related data, and Lamellae geometry; FIGS. 2B and 2C exemplify a patterned structure undergoing TEM imaging and parameters describing Lamellae geometry; and FIG. 2D schematically illustrates TEM imaging schemes and Lamellae cuts around the z-axis for BF, ADF and HAADF detection schemes;

FIG. 3 is a flow diagram of an exemplary method of the present invention for obtaining full geometrical interpretation of TEM measurements from raw TEM image data;

FIG. 4 is a flow diagram exemplifying an optional step of the method of FIG. 3 preliminary TEM image analysis (rough positioning); and

FIGS. 5A to 5C exemplify creation and use of a weight map as part of simulated TEM data, wherein FIG. 5A shows an exemplary patterned structure defining a typical FinFET SiGe transistor having features/parts of two different types (presenting relatively strong and weak parameters with respect to TEM imaging); FIG. 5B shows a simulated TEM image for a theoretical structure similar to the patterned structure of FinFET SiGe transistor, showing the areas in the simulated TEM image corresponding to the features/parts of one type associated with relatively weak parameter; and FIG. 5C illustrates simulated weight map with areas of enhanced weights which correspond to said “weak-parameter” features.

DETAILED DESCRIPTION OF EMBODIMENTS

Reference is made to FIG. 1A illustrating, by way of a block diagram, a control system 10 according to the present invention. The control system 10 is configured and operable for analyzing measured data comprising raw TEM image data and predetermined simulated TEM image data, and determine the structure parameter(s). The system may also provide for determining a full geometrical (and possibly also material composition) information about a structure being measured. To this end, as shown in the figure, the control system 10 is associated with a measured data provider 12. The measured data provider may be a TEM measurement system (real time or on line operation mode of control system 10) and/or or an external storage, where the TEM measured data is stored and to which the control system 10 is connectable (e.g. via wireless signal communication using a communication network). It should be understood that configuration and operation of the TEM measurement system providing the TEM image data are known per se and do not form part of the present invention, and therefore need not be specifically described here. It should also be noted that the analysis of the TEM measured data by the control system 10 may be at least partially performed off-line.

The control system 10 is configured as a computer system having, inter alia, such main structural and functional utilities (hardware and/or software utilities) as data input and output utilities 10A, 10B, memory 10C, and data processor 10D. The data processor 10D is configured (i.e. preprogrammed) for processing and analyzing measured data comprising raw measured TEM image data, TEM_(meas), and predetermined simulated TEM image data, as well as data indicative of a TEM measurement mode, and determining the structure parameter(s).

Thus, the control unit 10 is configured to receive, from the measured data provider 12, input data indicative of the raw measured TEM image data, TEM_(meas). The raw measured TEM image data may include a single or set of several TEM or STEM images. As indicated above, TEM image is actually pixel map data, or intensity map data (2D array of intensities) based on transmission of electrons through a portion of the structure being measured/imaged (Lamellae) as detected by a pixel matrix of a detector. Different positions (pixels) in the array correspond to different positions on the Lamellae projection, as will be described more specifically further below.

Further, as shown in the figure, the control system 10 may be configured to receive from a storage device 14 (a library) input data indicative of predetermined simulated TEM image, TEM_(simul). These simulated TEM image data is based on a parametrized three-dimensional model of features of the patterned structure, and includes one or more simulated TEM images and simulated weight map comprising weights assigned to different regions in the simulated TEM image corresponding to predefined different features/parts of the patterned structure.

Alternatively, or additionally, although not specifically shown, the control system 10 may include a suitable 3D model creator utility/module to provide such 3D model data. The 3D model data may be processed/used by the control system 10 to create data indicative of one or more simulated TEM images.

As indicated above, the 3D model data includes a geometrical model of the structure, and may also include material-related model data. Preferably, the 3D model includes both the 3D geometry and material compositions/properties. The 3D model of the structure is built by taking into account the physical constraints (from knowledge of semiconductor manufacturing process and trends), and includes parametrization, which allows to describe process variation in the manufacturing process.

In this connection, it should be noted that techniques of 3D modeling of a patterned structure are known, and do not form part of the present invention. An example of such modeling technique is NovaMARS® product commercially available from Nova Measuring Instruments. Such model is, for example, used for interpretation of Optical Critical Dimension (OCD) measurements.

According to the invention, the structure-related data (3D model data) also includes data about different features/parts of the structure (i.e. device defined by the patterned structure) and their “importance” in a TEM image. As described above, these parts of the structure are predefined (during recipe creation) based on the behavior of the measured device/structure (not “fixed” on TEM image), and are used to create the simulated weight map data.

Also utilized by the control unit 10 is input data comprising information about a TEM mode used to obtain the measured TEM image data. Such TEM mode data could include data indicative of at least one of a measurement mode/scheme, including for example Lamellae related data (position data, angular position, dimension, etc.), measurement condition data (applied metrology technique parameters effecting signal absorption, e.g. dark/bright field, angle, scale (magnification), etc.). Also, such data may include the measured structure related data (e.g. geometry and/or materials, etc.).

For example, Lamellae related data may include information about how Lamellae was cut and positioned relative to different predefined parts of the patterned structure. This data is used to assign different weighting factors (different weights) to the corresponding different areas/regions of the TEM image.

More specifically, the Lamellae position data may include an approximate position of the Lamellae center relative to the measured structure, angular orientation, Lamellae thickness. According to another embodiment of the invention, the position of the Lamellae center is not required and is determined automatically during the Rough Positioning step of data analysis. This will be described more specifically further below.

The data processor 10D receives the input data (via the memory 10C) including 3D model data about the structure, TEM mode data, and measured TEM image data. The data processor 10D includes an optimization utility/module (including a fitting module 18) which is configured and operable to utilize said data indicative of the TEM measurement mode and perform a fitting procedure between the raw measured TEM image data, TEM_(meas), and the predetermined simulated TEM image data, TEM_(simul) and determine the simulated image data corresponding to a best fit condition to thereby enable determination therefrom (by a parameters' calculator) one or more parameters of the structure.

As schematically illustrated by the block diagram of FIG. 1B, in some embodiments, the data processor 10D also includes a TEM image data simulator 16. The TEM image simulator 16 is configured and operable to receive the TEM mode data and 3D model data and generate simulated 2D TEM image data, TEM_(simul), using the 3D model of the structure and taking into account the TEM imaging parameters/conditions (TEM mode). The simulated 2D TEM image data is thus generated (i.e. by transformation of 2D TEM image onto a 3D model of the structure), which takes into account Lamellae position uncertainty. The simulated 2D TEM image data includes the simulated TEM image(s) and weights' image (weight map). This will be described more specifically further below.

The optimization/fitting module 18 receives the measured TEM image data, TEM_(meas), and receives, from the simulator module 16 or from the library, the simulated TEM image(s) TEM_(simul), and performs a fitting procedure.

The fitting procedure is an iterative procedure of comparing between the simulated image data TEM_(simul) and measured data TEM_(meas), while varying the floating parameters of the simulated data (e.g. structure parameters, Lamellae geometry and position data, and also the weighting factors defining a weight map for each iteration), until a best fit condition is achieved. In other words, registration between the simulated and measured images is performed to match the relative position, and a matching score (merit function or target function) is calculated until the minimal value thereof is obtained, which corresponds to the best fit condition of the simulated data. The best fit condition data for the simulated image data TEM_(simul) actually describes/corresponds to the specific Lamellae image/projection in the structure being measured. This best-fit simulated TEM image data is then used by the parameters' calculator module 20 to determine one or more parameters of the structure within the Lamellae portion.

It should be understood that multiple simulated TEM images can be created for various “theoretical” Lamellae conditions (positions, dimensions, etc.) and TEM modes, for the same modeled structure, to form a library of simulated TEM image data. Generally speaking, the simulator module 16, if any, may be an external utility to which the fitting module 18 has access to receive the simulated data. The fitting procedure between measured and simulated data may be repeated for various Lamellae positions and the weight maps (during TEM scan) to enable the full geometrical interpretation of the TEM image data, or a so-called “TEM stack” data.

The structural parameter(s) may be output, via output utility 10B, to a further analyzer (not shown) to be analyzed using any known suitable technique to evaluate the respective parameters/conditions of a structure manufacturing process to modify/adjust the process parameters.

Alternatively, or additionally, as shown in FIG. 1 by dashed lines (as being an optional procedure), the so-obtained parameters of the structure may be input into an analyzer 21, which is configured and operable for measured data analysis of measurements of a different type (i.e. based on different physical principles, e.g. spectrometry measurements). It should be noted that such analyzer 21 may be configured to perform model-based or model-less data analysis. In the present not limiting example, a model-based configuration of the analyzer 21 is shown.

The analyzer 21 includes a modeling utility 22 for optimizing data interpretation model(s). This may be data interpretation model for another metrology technique, e.g. OCD technique. In this case, the control system 10 (the data processor 10D) may include a fitting module 24 which receives measured OCD data, OCD_(meas), from the same measured data provider 12 or a separate data provider 12′, and utilizes the optimized OCD data interpretation model to perform a fitting procedure until a best fit condition is achieved, which data is then used by a calculator module 26 to determine one or more structure parameters from the OCD measurements.

Reference is now made to FIGS. 2A, 2B, 2C, and 2D schematically illustrating the principles of operation of the TEM image simulator module 16. As indicated above, the TEM image simulator module 16 generates data indicative of 2D simulated/expected TEM image data, which takes into account Lamellae position uncertainty, and a weight map (image of weights). More specifically, the expected 2D TEM image is simulated (calculated) from the 3D model of the structure and the physics of the specific TEM/STEM measurement mode, using an appropriate modeling software application. The weigh map is simulated based on the predefined (e.g. during recipe creation) different portions (features/parts) of the patterned structure (structure parts' map) and respective areas/regions in the simulated TEM image.

As illustrated in FIG. 2A, the TEM image data simulation is based on the understanding that TEM image 30 (so-called “TEM stack” considering a multi-layer patterned structure, which is typically the case in semiconductor industry) is a multi-parameter function of such factors/data as the structure (stack) geometry 32, material related data of the structure 34, Lamellae geometry and relative location in the structure 36 (Lamellae cut), and TEM measurement mode data 38, and possibly also the structure parts' map 39. The stack geometry data 32 includes the geometrical parameters in the 3D model format and/or number of repeated stack periods (along one or two axis across the structure/stack). The material related data 34 is indicative of material properties collection (parameters), and includes material (type, name, etc.) and/or absorption value (or range of values).

As described above, the TEM measurement mode may also include a detection scheme, e.g. Bright Field (BF), Dark Field (DF), Annular Dark Field (ADF), High Angle Annular Dark Field (HAADF), Energy Loss (EL), and others. In this connection, reference is made to FIG. 2D schematically illustrating TEM imaging modes and corresponding Lamellae cuts around the z-axis for BF, ADF and HAADF detection schemes. Different detection schemes might require the use of different models for measured data simulation. For example, in the ADF and HAADF detection schemes, similar geometrical models and different material-based models can be used.

FIG. 2B exemplifies a patterned structure (stack) 40, undergoing TEM imaging with a certain geometry/position of Lamellae 42 with respect to the structure 40. The parameter(s) of the patterned structure to be determined may include dimensional parameters, such as for example one or more of the following: Critical Dimensions (CD) of the pattern features, layer(s)' thickness(es), Side Wall Angle (SWA), etc.; as well as materials related parameters/properties.

As shown in FIG. 2C, the Lamellae geometry/position data 36 includes one or more of the following parameters: horizontal length L_(hor), vertical length L_(ver), width (thickness) as well as a width step for calculation, angular position around z-axis (with the initial position perpendicular to the x-axis (angle X=0), horizontal shift S_(hor), vertical shift S_(ver), and in depth shift S_(depth).

Referring to FIG. 3, there is illustrated a flow diagram 50 of an exemplary method of the present invention, e.g. carried out by the above described system 10 of FIGS. 1A and/or 1B, for obtaining parameter(s) of the structure, e.g. including full geometrical interpretation of TEM measurements from raw TEM image data indicative of one or more TEM images. As shown in the figure in a self-explanatory manner, input data is provided (step 52) in a manner described above, i.e. from measured data provider(s) including a measurement system and/or separate storage device. The input data includes: raw TEM image data, T_(meas), 3D model data of a patterned structure, TEM_(mode) data (physics of TEM images, as described above), and TEM material properties related data (including data indicative of electron beam interaction with the materials), and structure-related data including the predefined structure parts' map. In the present non-limiting example, the 3D model data is the NovaMARS model.

The 3D Model(s) of the structure and data about various conditions of the TEM imaging mode are processed to generate 2D simulated TEM image(s) or TEM signatures, and simulated weight map (step 54). In this connection, it should be noted, that the present non-limiting example illustrates Real Time Regression (RTR) approach, according to which simulated date is generated in an “on-line” mode. As described above, a library (database of simulated data) for simulated TEM image(s) can be prepared, based on the 3D model, in an off-line mode, and used later on (e.g. in the on-line mode) for the optimization, i.e. fitting with measured data. In yet another example, in addition to real-time and libraries based techniques, a combined approach may be used. For example, some “sparse” library may be created and after fitting with such library, further fitting is done based on the RTR approach.

The simulated TEM signature(s) and simulated weight map then undergo an “optimization” procedure (step 56). In this connection, as shown in the figure in dashed lines, prior to the optimization step 56, an optional rough positioning step 55 may be performed, i.e. preliminary TEM (or STEM) image analysis.

As exemplified by a flow diagram 70 in FIG. 4, such rough positioning may be performed as follows. A set of simulated TEM images is calculated (step 72). More specifically, a fitting procedure is performed (Lamellae position adjustment, as shown in FIG. 2C). If it appears that Lamellae orientation is not matched to periodicity axes (“non-zero angle” later on, which means that the angle between Lamellae and x-axis is different from 0, 90, 180 or 270 degrees), then such set may include a single wide image or a set of wide images with different shifts in direction perpendicular to the Lamellae surface. The “wide” simulated image means that the width of the simulated image is significantly larger (several times) than the width of the measured TEM image. For “non-zero” angle the periodicity of the device pattern is broken by the Lamellae cut orientation, so different parts of wide image (in horizontal direction) may correspond to different sections of the structure. If Lamellae orientation is matched to the periodicity axes (“zero angle” later on, which means that the angle between Lamellae and x-axis is either of 0, 90, 180 or 270 degrees), it is a set of images with different shifts in direction perpendicular to the Lamellae surface. In the case of “zero angle”, there is no point in creating too wide images because of periodicity of the structure pattern, so the optimal width of simulated TEM image has to cover the periodicity in corresponding direction plus margins for more robust pattern matching. Typical margin in horizontal direction is a half width of the measured TEM image width from each side, so an optimal width of the simulated image for “zero angle” is the periodicity in horizontal direction plus the width of measured TEM image.

Then, pattern matching between measured and simulated TEM images is performed (step 74). To this end, for each simulated TEM image from the set found in step 72, the best matching candidate is determined. A score of matching (merit function) is then calculated (step 76), e.g. using the Normalized Cross-Correlation technique, and a candidate with the best matching score (minimal value of the merit function) is chosen (step 78). Coordinates of the best matching candidate are determined (step 80) and the Lamellae position is set accordingly (step 82).

Turning back to FIG. 3, the optimization procedure (step 56) between the simulated TEM image and measured TEM image (raw data) is performed, either using the above-described preceding rough positioning step 55 or not. The optimization is actually a fitting procedure aimed at obtaining optimized registration (best fit condition) of the simulated and measured images TEM_(simul) and TEM_(meas). The fitting procedure includes a number of iterations while varying 3D model parameters (geometrical parameters) and/or TEM mode parameters/conditions (e.g. material properties and/or Lamellae position with respect to the modeled structure) and recalculating the weight map, until the best fit condition is achieved (step 58) for the following: the simulated TEM image position in the 3D model, the TEM physical model parameters (TEM stack); 3D model parameters; and the required quality of the best fit between the TEM image and the 3D model. The resulting simulated TEM image data, corresponding to the best fit condition is used to determine therefrom one or more of the structure parameters. Actually, this technique, when repeated for various TEM images (Lamellae positions) provides for obtaining the full geometrical and possibly also material interpretation of the TEM image(s).

As described above, the registration (fitting) between the simulated and measured images is performed to match the relative position, shape and contrast, and a matching score (merit function) is calculated while performing iterations to minimize the value of the merit function. Different merit functions (matching score schemes) can be used to define the best fit condition. For example, Average Deviation procedure compares intensities per pixel between the measured and simulated images. Another metrics may tolerate intensity gain and offset variations which may originate from electronic instabilities. Based on calculated target function/merit function values, the regression is performed on geometrical parameters and/or material properties and/or lamellae position and parameters, in order to find the best match between a set of measured images and the corresponding predictions (simulation).

As described above, the simulated TEM image data includes one or more simulated TEM images (created as described above) and a weight map based on/determined by pre-defined data about the structure parts' map of the patterned structure defining a specific device. In this connection, reference is made to FIGS. 5A to 5C exemplifying creation and use of the weight map.

FIG. 5A shows an exemplary patterned structure (stack) 140 which in the present example is configured to define a typical FinFET SiGe transistor device. As shown, the device 140 has features/parts L₁ and L₂ of different types in the meaning of their effect of TEM images. These parts L₁ and L₂ of the transistor structure are made of SiGe compositions with, respectively, relatively low (about 15%) and relatively high (about 30%) amount of Ge, and thus constitute parts relating to, respectively, relatively weak and relatively strong parameters.

FIG. 5B shows a simulated TEM image (created as described above) for a theoretical structure similar to the structure 140, showing regions R₁ in the TEM image corresponding to parts/features L₁.

FIG. 5C illustrates simulated weight map (image of weights) with areas/regions of enhanced weights which are connected to (correspond to) the structure's features L₁. As one can see from FIG. 5C, most of the TEM image area has weight W=1, but the regions of interest, corresponding to the structure's features L₁, with larger weight are located exactly around the areas/regions R₁. This is done in order to enhance the importance of TEM image matching at the areas L₁. It should be noted that weights are assigned to different parts of the structure, and define, in the simulated TEM image, the weighted regions of geometrical- and/or material-related data.

As described above, structure parameter(s) can be determined using a fitting procedure (iterative procedure) of comparing between the simulated image data TEM_(simul) and measured data TEM_(meas), while varying the floating parameters of the simulated data, such as structure parameters, Lamellae geometry and position data, and the weight map, until a best fit condition is achieved (i.e. minimal value of merit function or target function). The weight map is re-calculated at each step of regression (iteration).

The following is the description of the use of the simulated TEM data including the TEM image(s) and the weights' image to optimize determination of structure' parameters, including also weak parameter(s).

A merit function or target function (TF), defining a best fit condition between measured and simulated TEM data, can be defined as follow (using the case of L2 metric/penalty of penalized regression):

${TF} = \frac{\sum{W_{IJ} \cdot \left( {S_{IJ} - M_{IJ}} \right)^{2}}}{\sum W_{IJ}}$ or as follows (in case of L1 metric of penalized regression):

${TF} = \frac{{\sum W_{IJ}}{\cdot {{S_{IJ} - M_{IJ}}}}}{\sum W_{IJ}}$ wherein W is the weight or weighting factor assigned to a structure's part; and S and M correspond to simulated and measured images, respectively; and I and J are position related indexes that can cover the whole area of the measured image. In the case when borders of the measured TEM image are corrupted, the “Safe Margins” define an area which will be excluded from TF calculation (in both nominator and denominator). Safe margins have 4 parameters: Left Margin, Right Margin, Top Margin and Bottom Margin. These Margins define the size of the image (from each side) which have to be excluded from the calculation. In the case when the whole TEM image has good measurement, all above margins are equal to zero, e.g. the whole image is used. In the case when Left side of the TEM image is corrupted (for example, dark or bright artificial lines), then Left Margin is no-zero and defined accordingly in order to exclude corrupted region.

Thus, here W_(IJ) is a weight (from the weight map image) for pixel (I, J), and S_(IJ) and M_(IJ) are simulated and measured TEM images respectively. This “weighted” target function TF is used during regression/iteration performed as described above.

Different weights are dynamically assigned to specific areas/regions of the TEM image connected to specific features/parts of the measured structure (measured semiconductor device). There are several possible approaches for dynamic calculation of weights, including for example StackMaker™ model with additionally defined meta-shapes (see below), assigning weights based on dissector material (see below), etc.

Considering the case of meta-shapes, they are not used for TEM image simulation, but for the weight map calculation. The meta-shapes has no effect on calculation of simulated TEM image, but only used for calculation of weight maps. Each meta-shape may have its own weights. The important feature of meta-shapes that their 3D size and 3D position are linked to the Stack geometry data using an equation editor or macros or intermediated parameters, and their locations can be adjusted automatically to a desired feature/part when parameters of the Stack are changed. For example, in L1 case, the meta-shapes at the form of parallelepiped can be defined around L1. The center of the parallelepiped meta-shape can be linked to the center of L1 part, and the size (in X, Y, and Z directions) of parallelepiped meta-shape can linked to be larger than the size of L1 part (for example, twice larger). The link of the size and position of meta-shapes to the parts of the structure is very important. For example, if the parameters of the Stack change, then both the region in the simulated weight maps and the corresponding L1 region in the simulated TEM image will move at the synchronized way.

Yet another option to define weight map is assigning the different weight coefficient to different materials. This option is simpler for user, because it does not require the modification of the existing geometry. The weights per material assignment process is performed during the recipe creation and includes assigning a weight to each material in dissector. At each step of regression, the weight map is created/updated by sampling the material inside the Lamellae cut. The accuracy of sampling for the weight map creation might be lower than that for the TEM image simulation.

In order to catch the material border at the TEM image regression, the area of high weights is to be larger than the area of material itself. To this end, the area of higher weights' regions is expanded a little bit (controlled by the recipe) on account of areas with lower weights. This can be implemented by non-linear filtering, for example using modification of typical dilation morphology algorithm from image processing techniques.

In order to improve convergence, the weight map should preferably have no abrupt variations. This condition can be achieved by smoothing the weight map from the previous regression step, for example by applying a Gaussian Blur image processing algorithm.

It should be noted that the technique of the invention also provides for TEM recipe optimization. This can be carried out as follows: First, Lamella characteristics (thickness, position, orientation, etc.) are defined for optimal information content based on the 3D model and simulated TEM images. TEM measurement conditions (measurement mode, beam energy, detector type,) are defined for optimal information content based on the 3D model and simulated TEM images. This allows for facilitating interpretation of TEM and SEM images using the 3D model to optimize measurement conditions (e.g. number of required TEM images). These procedures can be used for matching TEM image contours/edges to simulated edges from the 3D model without physical TEM image model.

The TEM recipe optimization may also include weights optimization. More specifically, weights per material and/or per meta-shape can be predefined during the recipe setup based on desired trade-off between the accuracy of measurement of strong and weak parameters of interest. These weights (all weights or subset of weights or a single weight) can be further optimized during regression. The optimization of weight can provide leverage on the variation in the quality of measured TEM images. The optimization is performed within limits (each weight has its own limits—minimal and maximal values) which are defined during the recipe setup.

As described above, the data about the TEM measurement mode including Lamellae geometry data (e.g. Lamellae thickness, Lamellae orientation, Lamellae position with respect to the structure) and preferably also data about a detection scheme (BR, DF, ADF, HAADF or EL) corresponding to the measured TEM image data are used to determine the simulated TEM image data. In some embodiments, a combination of two or more different detection schemes (measurement channels) are used.

The following is the description of an improved physical modeling, according to the present invention, for TEM images creation at HAADF and other modes (as schematically illustrated in FIG. 2D).

It should be noted that for a very thin Lamellae the attenuation of chief/scanning e-beam within a Lamellae sample can be neglected. In this case HAADF (High Angle Annular Dark Field) or ADF (Annular Dark Field) mode/scheme in the TEM image simulation can be described by additive contribution from different voxels on the beam's way as follows: I _(HAADF) =I _(CHIEF) ·ΣB _(HAADF)(p)·D(p) I _(ADF) =I _(CHIEF) ·ΣB _(ADF)(p)·D(p) wherein B_(HAADF)(p) is an effective scattering efficiency from the p-th material as measured by a HAADF detector, B_(ADF)(p) is an effective scattering efficiency from the p-th material as measured by an ADF detector, D(p) is a thickness of the p-th material along the propagation/trajectory of the chief e-beam ray. The summation is done on the way of the chief e-beam through the Lamellae sample.

As seen in FIG. 2D, the effective scattering cross section of the material is different for the TEM modes using HAADF and ADF detection schemes because these include average over different collection angles.

However, this is not the case when the sample is not ultra-thin Lamellae sample or when TEM measurement mode with BF (Bright Field) detection scheme is concerned.

In order to simulate TEM image for the BF mode, the attenuation of the chief scanning e-beam needs to be calculated as follows: I _(BF) =I _(CHIEF)·exp(−ΣA _(BF)(p)·D(p)) wherein A_(BF)(p) is an attenuation coefficient of the chief ray for the p-th material, D(p) is a thickness of the p-th material on the way of the chief e-beam ray. The summation is done on the way of the chief e-beam through the Lamellae sample.

The value of A_(BF)(p) is inversely proportional to the attenuation length for the e-beam with specific energy at the p-th material.

In the case of non ultra-thin Lamellae sample, the above attenuation affects the HAADF and ADF detected/measured signals as well:

$I_{HAADF} = {I_{CHIEF}{\underset{0}{\overset{\mspace{45mu} D}{\cdot \int}}{{B_{HAADF}(z)}{f(z)}{dz}}}}$ $I_{ADF} = {I_{CHIEF}{\underset{0}{\overset{\mspace{45mu} D}{\cdot \int}}{{B_{ADF}(z)}{f(z)}dz}}}$ wherein D is a Lamellae thickness, B_(HAADF)(z) describes material properties and material's interaction with electron beam interaction (for HAADF detection scheme) at point z on the way of chief ray, B_(ADF)(z) describes material properties and material's interaction with electron beam interaction (for ADF detection scheme) at point z on the way of chief ray, and f(z) describes the attenuation of the chief ray.

The integration is done over the path of the chief ray through the Lamellae sample. The starting point (z=0) corresponds to the point where the chief e-beam enters the Lamellae sample, and the end point (z=D) corresponds to the point where the chief e-beam exist the Lamellae sample.

The attenuation of the chief beam, f(z), is calculated as follows:

${f(z)} = {\exp\left( {- {\int\limits_{0}^{Z}{{A_{BF}(t)}dt}}} \right)}$ wherein A_(BF)(t) is an attenuation coefficient of the chief e-beam at point t (which depends on the material at this point).

The starting point (z=0) corresponds to the point where the chief e-beam enters the Lamellae sample, the larger z values correspond to deeper areas inside the Lamellae, z=D corresponds to the point where the chief e-beam exist the Lamellae sample.

The above model can thus be used for determining the simulated TEM image, which can then be used in the fitting procedure, e.g. optimized by the use of simulated dynamic weight map, with respect to measured TEM images to determine one or more parameters of the patterned structure.

Thus, the present invention provides for interpretation of the raw data of TEM images, that cover a significant part of the process variation range, to learn the process correlations between the structure parameters (geometry and material compositions). These process correlations may be then used to develop/optimize an OCD data interpretation model, which incorporates these process correlations as constraints in its parameterization. This allows/facilitates to obtain more accurate OCD metrology by reducing effects of metrology correlations, and by ensuring that the OCD model represents the real process.

The present invention provides for utilizing the above described TEM data interpretation to automatically obtain parameter values from TEM data and use these parameters for optimizing measurements (e.g. measured data interpretation) of other type, i.e. measurements based on different physical principles. An example of such other type measurements is OCD metrology. The present invention provides for efficient OCD solution development (model-based and modeless).

Examples of how the technique of the invention (full TEM data interpretation) can contribute to the OCD metrology include: automatically obtaining parameter values from TEM and using them for defense system (flagging situations where running OCD solution fails); automatically obtaining parameter values from TEM and using them for updating a modeless OCD solution; deriving improved OCD models using the raw TEM images; using the raw TEM images to identify in-line failures of OCD solution.

Combination of the TEM and OCD data (where the OCD data can be optimized using the TEM data as described above) can be used for further optimization of a 3D model of the structure to extract geometrical parameters of the structure.

Also, the present invention provides for strict and global fit co-optimization of the TEM image data (one or more TEM images) with OCD spectral data (one or more spectra). To this end, a full set of images from Lamellae or only sub-set of images from Lamellae or single image from Lamellae (and preferably also the weight map) can be used for the co-optimization. Similarly, a full set of available OCD spectra (with different measurement conditions, e.g. different inclination/azimuth and polarizations) or sub-set of available OCD spectra (for example, normal channel TE and TM polarizations) or single OCD spectrum can be used for optimization.

The strict co-optimization may utilize target function (merit function) which is an average of “local” merit functions from different sites (or some weighted average of the merit functions from different sites). The relevant structure parameters are kept (fixed) to be the same during optimization. In order to improve convergence, the co-optimization can be done at two steps: at first step optimization procedure is performed with regard to measurements on all sites independently, and at the second step the initial value of parameter(s) that is/are common for all the sites is obtained as average of the optimization results from the first step. Then, all images are co-optimized simultaneously by keeping the common parameters to have the same value.

Similarly, global co-optimization may use a target function which is average of target functions from different sites (or weighted average of such target functions from different sites), and the relevant parameters are kept to be the same during optimization. However, the “common” values may slightly vary from site to site and from patterned region to pattern region (e.g. die to die in a semiconductor wafer). In order to take into account such variation, the “common” parameters are kept independent for each measurement site, but a penalty function is added on variation of the “common” parameters. The penalty function is based on at least one selected global parameter (behavior of global parameter) characterizing at least one property of the structure; this may be expected physical behavior or expected process non-uniformity. The principles of penalty functionbased data interpretation are described in US 2013/124141, assigned to the assignee of the present application, and is incorporated herein by reference with respect to this specific example.

For example, considering a Chemical Mechanical Planarization (CMP) process, the “bowl” behavior across the wafer is typical for CMP-related parameters. For such parameter at each step, the best fit parabola is calculated (using parameter values and measurement sites positions on the wafer): V _(IDEAL) =a*r ² +b Here, r is the wafer radius and V is the parameter, which is distributed according to a parabolic function along the wafer radius r.

Thereafter, the penalty function is calculated as variation from the best fit parabolic behavior with some tolerance a of the process non-uniformity:

$\delta = {\alpha\frac{1}{N}{\sum\left( \frac{V - {V_{{IDEA}L}(r)}}{\sigma} \right)^{2}}}$

In order to improve the convergence, the co-optimization can be done in two steps, as described above, i.e., at the first step all sites are optimized independently, and at the second step the penalty function is added. Then, all these images are co-optimized simultaneously by using the penalty function on variation across the “common” parameters.

The following are some examples of the advantageous use of the technique of the invention, i.e. the full TEM data interpretation using a 3D model of a structure.

One example is to use the TEM data obtained from one site for interpreting TEM image of another site. In other words, parameters determined from TEM data of one site are injected to optimize TEM measurements on the other site. This may include injection of some values from another TEM-measured site on the same wafer (e.g. from the same die or another die on the wafer), another structure at the same die or another die on the wafer, the same structure at different Lamellae orientation, the same structure at different Lamellae position, the same structure at different Lamellae thickness. Alternatively, this may be “range” injection of some values from another TEM site on the same wafer (from the same die or another die on the wafer). Due to possible variations between different dies/sites of the wafer, the value is injected but still remains open for optimization. The range for this value is narrowed and centered around injected value. Similarly, the injection may be performed for another structure at the same die or another die on the wafer, the same structure at different Lamellae orientation, the same structure at different Lamellae position, the same structure at different Lamellae thickness.

Another possible examples of using the technique of the invention is strict co-optimization of different TEM sites, i.e. TEM images from different sites (from the same die or another die on the wafer), e.g. another structure at the same die or another die on the wafer, the same structure at different Lamellae orientation, the same structure at different Lamellae position, the same structure at different Lamellae thickness. As described above, the co-optimization may use the target function being an average (or weighted average) of local target functions from different sites, and the relevant parameters are kept to be the same during optimization. In order to improve the convergence, the co-optimization can be done at two steps: all sites are optimized independently, then the initial value of common parameters is obtained as average of results from the independent optimization; and all images are co-optimized simultaneously by keeping common parameters to have the same value.

Yet another example is global fit co-optimization of different TEM sites, i.e. TEM images from different sites (from the same die or another die on the wafer). As described above, this may be another structure at the same die or another die on the wafer, the same structure at different Lamellae orientation, the same structure at different Lamellae position, the same structure at different Lamellae thickness. As described above, the co-optimization may use target function which is average (or weighted average) of target functions from different sites, and in order to take into account possible (slight) variation of the “common” values from site to site and from die to die, the “common” parameters are kept independent for each site, and the penalty function (based on expected physical behavior or expected process non-uniformity) is added on variation of the “common” parameters. This is exemplified above with respect to the CMP-related parameters. As also described above, the convergence can be improved by the two-step optimization process: (1) all sites are optimized independently, (2) the penalty function is added, and all images are co-optimized simultaneously by using penalty function on variation across “common” parameters.

Yet further example is the use of output parameters of a combined model to calibrate a TEM tool. Let us consider a photo-lithography process which is proved to be extremely accurate (to the level of ppm's) concerning periodicity and period of the patterned structures. In case of Double patterning, the process is accurate for Double-Pitch and in the case of Quadro-Patterning it is accurate for Quadro-Pitch. Pixel Size x can be optimized during a fitting procedure. Comparison of the pixel size x values obtained from optimization and from the settings of the TEM measurement mode can provide feedback on the accuracy of TEM settings.

The TEM tool effects can be taken into account in the combined model. More specifically, Gain and Offset calibration curves of the electronics of the tool can be incorporated in TEM data simulation in order to produce exactly the TEM simulated image at exactly the same measurement conditions as the measured one. This is especially important for non-linear effect, such as saturation which can be easily incorporated in a simulation engine/module.

The present invention also provides for the process control (process defense). To this end, the quality of the fitting/matching procedure (appropriately minimized merit function) can be used to automatically identify the process faults/defects (mismatch from the 3D model of the structure).

The structure parameters that can be determined from the full interpretation of the measured TEM images include any combination of the following: geometrical parameters of the structure, for example CD, STI_HEIGHT, etc.; material characteristics, for example scattering efficiency of Silicon or Silicon Oxide layers typically used in semiconductor wafers; Lamellae parameters, for example, Lamellae thickness and positions used in the TEM imaging/measurement; as well as acquisition parameters, for example gain and offset of amplifier used for STEM imaging, or pixel size of STEM or TEM image.

The quality of analysis of the measured TEM images is defined by the quality of the fitting/matching procedure and reliability of extracted parameters. The quality of fit is defined by the target function (merit function) value. If for example, the target function defined as average deviation, then lower values of the target function represent better quality of analysis and higher reliability of extracted parameter values. Also, the quality of fit may be defined by goodness of fit (GOF) value. This can be calculated as Normalized Crossed Correlation (NCC) between simulated and measured images. In this case, the higher values of GOF represents better quality of analysis and higher reliability of extracted parameter values. The quality of fit may be defined by Miss-Fit Bias (MFB) value which represents the surface of miss-fit adjusted areas with the same sign of deviation of simulated from measured image. In this case, the larger values of MFB represent larger systematic bias between the modeled and actual structure, and means lower reliability of extracted values. It should be noted that MFB indicates the limitation of the model from the real process. In other words, it indicates high probability of process faults or defects.

The 3D model of the structure (geometry and materials) is designed and optimized in order to cover a normal process window of the manufacturing process and most common miss-process failures (or deviations from the normal process. The process control (process defense) is a multi-level procedure.

First level includes extraction of the parameters' values, from each Lamellae image, based on the analysis of the TEM images. Also, the quality of analysis is calculated. This quality of analysis may have different metrics. For example, if TEM measurements includes 7 TEM images at different parts of Lamellae, each image can be analyzed, and set of parameters is extracted from each image. This includes one or more of the following:

Lamellae average control: The parameters can be averaged, and the resulting values are compared with a normal process window range. If one of the parameters goes beyond the normal process window range, an alarm is fired.

Strict control: If one of the parameters for one of the images (e.g. without averaging) goes beyond the normal process window range, an alarm is fired.

Within Lamellae variation control: The variation range within Lamellae for each parameter can be calculated. It can be done by either using a difference between the maximal and minimal values, or by using 3-StDev value. If the variation range for one of the parameters goes beyond the normal process window range, an alarm is fired.

Target function average control: If the averaged value of the target function from all TEM images becomes larger than a predefined threshold, an alarm is fired. The threshold for target function value can be obtained by investigating the target function values for the normal process window.

Target function strict control: If value of the target function from one of the images becomes larger than a predefined threshold, an alarm is fired.

GOF average control: If the averaged value of GOF from all the images becomes smaller than a predefined threshold, an alarm is fired. The threshold for GOF value can be obtained by investigating the GOF values for the normal process window.

GOF strict control: If value of GOF from one of the images becomes smaller than a predefined threshold, an alarm is fired.

MFB average control: If the averaged value of MFB from all the images becomes larger than a predefined threshold, an alarm is fired. The threshold for MFB value can be obtained by investigating the MFB values for the normal process window.

MFB strict control: If the value of MFB from one of the images becomes larger than a predefined threshold, an alarm is fired.

At the second level, the values of parameters are extracted by using simultaneous analysis of a full set or sub-set of TEM images in Lamellae. For example, if Lamellae has 11 images, all 11 images can be used. Alternatively, only some of the images (e.g. 6 images from 11) can be used. The reason to disregard other images may, for example, be associated with low quality of the measured images. This procedure includes one or more of the following:

Parameters control: The parameters values are compared with the normal process window range. If one of the parameters goes beyond the normal process window range, alarm is fired.

The target function control: If target function of simultaneous optimization becomes larger than a predefined threshold, an alarm is fired. As described above, the threshold for the target function value can be obtained by investigating the target function values for the normal process window.

GOF control: If GOF of simultaneous optimization becomes smaller than a predefined threshold (e.g. determined by investigating the GOF values for the normal process window), an alarm is fired.

MFB control: If MFB of simultaneous optimization becomes larger than a predefined threshold (e.g. obtained by investigating the MFB values for the normal process window), an alarm is fired.

A combined model can be used to calibrate out TEM tool effects.

Turning back to FIG. 1, the TEM images analysis according to the technique of the invention can be used for optimizing measurements of a different type, e.g. optical measurements (e.g. OCD measurements). In FIG. 1, model-based measurements of the different type are exemplified, where TEM data is used by modeling utility 22 and fitting module 24 to optimize the data interpretation model and find the best fit condition with different type measured data, e.g. OCD data. Alternatively, or additionally, such different type measurements may be model-based X-ray Scatterometry (XRS) and/or model-based X-ray fluorescence (XRF). In other words, structure parameters determined from the TEM images analysis can be used for optimizing measured data interpretation model(s) for XRS and/or XRF measurements.

Also, the above-described automatic robust and accurate retrieval of geometric and/or material parameters of structures from one or several TEM/STEM images for the purpose of Optical Proximity Correction (OPC) modeling, for semiconductor process development, for calibrating a process simulator. 

The invention claimed is:
 1. A control system for use in measuring one or more parameters of a patterned structure, the control system being configured as a computer system comprising: an input utility configured to receive input data comprising raw measured TEM image data, TEM_(meas), data indicative of a TEM measurement mode; and a data processor configured to process the raw measured TEM image data, TEM_(meas), and generate output data indicative of one or more parameters of a patterned structure, wherein said data processor comprises: an optimization module configured and operable to utilize said data indicative of the TEM measurement mode and perform a fitting procedure between the raw measured TEM image data, TEM_(meas), and predetermined simulated TEM image data, TEM_(simul), and determining one or more parameters of the structure from the simulated image data corresponding to a best fit condition, wherein said predetermined simulated TEM image data, TEM_(simul), being based on a parametrized three-dimensional model of features of the patterned structure, and comprising one or more simulated TEM images and a simulated weight map comprising weights assigned to different regions in the simulated TEM image corresponding to different features of the patterned structure.
 2. A control system according to claim 1, wherein said data processor further comprises a data simulator module, which is configured and operable to analyze data indicative of the parametrized three-dimensional model of features of the patterned structure and a map of said different features of the structure, and create said predetermined simulated TEM image data, TEM_(simul).
 3. A control system according to claim 1, wherein said data indicative of the parametrized three-dimensional model comprises any of a) geometrical features including dimensions of the features of the structure, and b) material related data of the structure.
 4. A control system according to claim 1, wherein said one or more parameters of the structure to be determined comprise dimensional parameters, comprising one or more of the following: Critical Dimensions (CD) of the pattern features, thickness of one or more layers in the structure, Side Wall Angle (SWA).
 5. A control system according to claim 1, wherein said data indicative of the one or more parameters of the TEM measurement mode comprises Lamellae geometry data including at least one of the following: Lamellae thickness, Lamellae orientation, Lamellae position with respect to the structure.
 6. A control system according to claim 5, wherein said data indicative of the one or more parameters of the TEM measurement mode further comprises data about a detection scheme corresponding to the measured TEM image data.
 7. A control system according to claim 1, wherein said optimization module is configured and operable to perform said fitting procedure while varying one or more of the following: one or more of the three-dimensional model parameters; one or more of material properties; and Lamellae position with respect to the three-dimensional model of the structure; and varying the weight map by dynamically assigning different weights to the different regions of the TEM image, depending on the Lamellae geometry and position relative to the different features of the patterned structure.
 8. A control system according to claim 1, further comprising a parameter calculator module configured and operable to provide, from the simulated TEM image data corresponding to the best fit condition, the one or more parameters of the patterned structure being measured.
 9. A control system according to claim 8, further comprising an analyzer, in data communication with the parameter calculator module, the analyzer being configured to use the one or more parameters of the patterned structure determined from the TEM image data to optimize measured data corresponding to measurements of a type different from TEM, obtained on the patterned structure.
 10. A metrology method for use in determining one or more parameters of a patterned structure, the method comprising: providing raw measured TEM image data, TEM_(meas), and data indicative of a TEM measurement mode, and predetermined simulated TEM image data comprising data indicative of one or more simulated TEM images of a structure similar to the patterned structure under measurements and simulated weight map comprising weights assigned to different regions in the simulated TEM image corresponding to different features of the patterned structure; performing a fitting procedure between the raw measured TEM image data and said predetermined simulated TEM image data and determining one or more parameters of the structure from the simulated TEM image data corresponding to a best fit condition.
 11. A metrology method according to claim 10, further comprising: providing model data indicative of at least one three-dimensional model of a structure similar to the patterned structure under measurements, the three-dimensional model comprising a parametrized three-dimensional geometrical model of the structure; and analyzing said three-dimensional model and data indicative of a TEM measurement mode comprising at least Lamellae geometry data, and generating said one or more simulated TEM images.
 12. A metrology method according to claim 11, wherein said data indicative of the three-dimensional model comprises at least one of geometrical and material related parameters of the structure.
 13. A metrology method according to claim 10, wherein said providing of the predetermined simulated TEM image data comprises analyzing data indicative of a parametrized three-dimensional model of features of the patterned structure and a map of said different features of the structure, and creating said predetermined simulated TEM image data.
 14. A metrology method according to claim 13, wherein said creating of the simulated TEM image data comprises simulated TEM images for multiple different Lamellae positions and geometries with respect to the three-dimensional model of the patterned structure.
 15. A metrology method according to claim 10, wherein said data indicative of the one or more parameters of the TEM measurement mode comprises Lamellae geometry data including at least one of the following: Lamellae thickness, Lamellae orientation, Lamellae position with respect to the structure.
 16. A metrology method according to claim 10, wherein said data indicative of TEM measurement mode further comprises data about a detection scheme corresponding to the measured TEM image data.
 17. A metrology method according to claim 10, wherein said performing of the fitting procedure comprises varying one or more of the following: one or more of the three-dimensional model parameters; one or more of material properties; and Lamellae position with respect to the three-dimensional model of the structure; and varying the weight map by dynamically assigning different weights to the different regions of the TEM image, depending on the Lamellae geometry and position relative to the different features of the structure.
 18. A metrology method according to claim 10, further comprising using said one or more parameters of the structure to optimize data interpretation model for interpreting measured data of a type different from TEM.
 19. A metrology method according to claim 10, wherein said one or more parameters of the structure to be determined comprise dimensional parameters, comprising one or more of the following: Critical Dimensions (CD) of the pattern features, thickness of one or more layers in the structure, Side Wall Angle (SWA). 